//
//  GameScene.h
//  HeroNuts
//
//  Created by Magic on 11-3-31.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//


#import "cocos2d.h"
#import "UILayer.h"
#import "GroundLayer.h"
#import "SpriteLayer.h"
#import "EffectLayer.h"

typedef enum
{
	LayerTagGroundLayer,
	LayerTagUILayer,
	LayerTagSpriteLayer,
    LayerTagEffectLayer
} GameSceneLayerTags;


@interface GameScene : CCLayer {
	NSMutableArray* actors_;
	int currentActorIndex_;
}

/** returns a Scene that contains the GameScene as the only child*/
+(id) scene;

+(GameScene*) sharedGameScene;
-(void) nextActor;


@property (readonly) EffectLayer* effectLayer;
@property (readonly) GroundLayer* groundLayer;
@property (readonly) UILayer* uiLayer;
@property (readonly) SpriteLayer* spriteLayer;
@property (readonly) HNActor* currentActor;

//@property (nonatomic,retain) NSMutableArray* actors;;

@end
